package org.scau.studentevaluation.enums;

import lombok.Getter;

/**
 * @Author: x1aolone
 * @Date: 2020/8/19 21:28
 */
public enum ResponseCodeEnum {

    SUCCESS(1, "success"),
    ERROR(-1, "error");

    /**
     * 类别
     */
    @Getter
    private final Integer type;
    /**
     * 描述
     */
    @Getter
    private final String description;

    ResponseCodeEnum (Integer type, String description) {
        this.type = type;
        this.description = description;
    }

}
